package cn.edu.cqu.domains;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;

/***********************************************************************
 * Module:  Contact.java
 * Author:  Guo
 * Purpose: Defines the Class Contact
 ***********************************************************************/


@Entity
@Table(name="Contact")
@DynamicUpdate
@DynamicInsert
public class Contact {
	@Id
	@GenericGenerator(name="systemUUID",strategy="uuid")
	@GeneratedValue(generator="systemUUID")
	public java.lang.String cid;
	public java.lang.String cName;
	public java.lang.String cEmail;
	public java.lang.String cTitle;
	@Type(type="text") 
	public java.lang.String cContent;
	public java.lang.String getCid() {
		return cid;
	}
	public void setCid(java.lang.String cid) {
		this.cid = cid;
	}
	public java.lang.String getcName() {
		return cName;
	}
	public void setcName(java.lang.String cName) {
		this.cName = cName;
	}
	public java.lang.String getcEmail() {
		return cEmail;
	}
	public void setcEmail(java.lang.String cEmail) {
		this.cEmail = cEmail;
	}
	public java.lang.String getcTitle() {
		return cTitle;
	}
	public void setcTitle(java.lang.String cTitle) {
		this.cTitle = cTitle;
	}
	public java.lang.String getcContent() {
		return cContent;
	}
	public void setcContent(java.lang.String cContent) {
		this.cContent = cContent;
	}
	
	

}